package com.yx.system.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 收藏类
 */
public class TdCollection implements Serializable{
    private Integer id;
    /**
     * 创建时间
     */
    private Date createdate;
    /**
     * 书ID
     */
    private Integer bookid;
    /**
     * 阅读到的最新章节名称
     */
    private String sectionname;
    /**
     * 阅读到的最新章节ID
     */
    private Integer sectionid;
    /**
     * 书名
     */
    private String bookname;

    /**
     * 图片地址
     */
    private String picurl;
    /**
     * 用户UID
     */
    private String uid;
    /*
    * 阅读进度
    */
    private Double readRation;
    /*
    * 收藏状态（0：删除，1：存在）
    */
    private Integer collectionStatus;

    public Integer getCollectionStatus() {
        return collectionStatus;
    }

    public void setCollectionStatus(Integer collectionStatus) {
        this.collectionStatus = collectionStatus;
    }

    public Double getReadRation() {
        return readRation;
    }

    public void setReadRation(Double readRation) {
        this.readRation = readRation;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getCreatedate() {
        return createdate;
    }

    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }

    public String getBookname() {
        return bookname;
    }

    public void setBookname(String bookname) {
        this.bookname = bookname == null ? null : bookname.trim();
    }

    public String getPicurl() {
        return picurl;
    }

    public void setPicurl(String picurl) {
        this.picurl = picurl == null ? null : picurl.trim();
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid == null ? null : uid.trim();
    }

    public Integer getBookid() {
        return bookid;
    }

    public void setBookid(Integer bookid) {
        this.bookid = bookid;
    }

    public String getSectionname() {
        return sectionname;
    }

    public void setSectionname(String sectionname) {
        this.sectionname = sectionname;
    }

    public Integer getSectionid() {
        return sectionid;
    }

    public void setSectionid(Integer sectionid) {
        this.sectionid = sectionid;
    }
}